package spring.model;

/**
 * Administrator
 *
 * @author jiangbang
 * @date 2016/10/20
 */
public class User {
    private String username;
    private String password;

    public User() {
        System.out.println("User1");
    }
    public User(String password, String username) {
        System.out.println("User2");
        this.password = password;
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        System.out.println("getUsername");
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
        System.out.println("setUserName");
    }
}
